import { action,makeObservable,observable } from 'mobx'
class PersonStore{
    constructor(){
        makeObservable(this,{
            jeck:observable,
            updata_birthday:action.bound
        })
    }
    jeck={
        dateOfBrth:"1999-11-21",
        tel:"305-7878",
        six:"男"
    }
    updata_birthday(value:string){
        this.jeck.dateOfBrth=value
    }
}
const personStore=new PersonStore()
export default personStore